```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Java集合框架详解 | 技术小馆</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', 'Noto Serif SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .highlight {
            position: relative;
            z-index: 1;
        }
        .highlight::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 30%;
            background-color: #c4b5fd;
            opacity: 0.3;
            z-index: -1;
            transition: all 0.3s ease;
        }
        .highlight:hover::after {
            height: 100%;
            opacity: 0.5;
        }
        .drop-cap:first-letter {
            float: left;
            font-size: 4em;
            line-height: 0.8;
            margin: 0.1em 0.2em 0.1em 0;
            color: #6366f1;
            font-weight: bold;
        }
    </style>
</head>
<body class="antialiased">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-4 md:px-0">
        <div class="container mx-auto max-w-6xl flex flex-col items-center">
            <div class="w-full md:w-3/4 text-center">
                <h1 class="text-4xl md:text-5xl font-bold mb-6 tracking-tight">Java集合框架深度解析</h1>
                <p class="text-xl md:text-2xl font-light mb-8 leading-relaxed">
                    探索List、Set和Map的核心特质与性能差异，掌握Java集合框架的精髓
                </p>
                <div class="flex justify-center space-x-4">
                    <a href="#list" class="px-6 py-3 bg-white text-indigo-600 rounded-full font-medium hover:bg-opacity-90 transition duration-300">
                        <i class="fas fa-list-ul mr-2"></i>List详解
                    </a>
                    <a href="#set" class="px-6 py-3 bg-indigo-900 bg-opacity-50 text-white rounded-full font-medium hover:bg-opacity-70 transition duration-300">
                        <i class="fas fa-project-diagram mr-2"></i>Set详解
                    </a>
                    <a href="#map" class="px-6 py-3 bg-indigo-900 bg-opacity-50 text-white rounded-full font-medium hover:bg-opacity-70 transition duration-300">
                        <i class="fas fa-map-marked-alt mr-2"></i>Map详解
                    </a>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="container mx-auto max-w-6xl px-4 py-12">
        <!-- Introduction -->
        <section class="mb-20 drop-cap">
            <p class="text-lg leading-relaxed text-gray-700 mb-6">
                在Java编程中，集合框架是使用最频繁的组件之一。它们为我们提供了存储、检索和操作数据的高效方式。无论是简单的数据存储还是复杂的算法实现，选择合适的集合类型都至关重要。本文将深入探讨List、Set和Map这三种主要集合类型的特性、实现类及其性能特点。
            </p>
            <div class="bg-indigo-50 border-l-4 border-indigo-500 p-6 rounded-r-lg">
                <h3 class="text-lg font-semibold text-indigo-800 mb-2 flex items-center">
                    <i class="fas fa-lightbulb text-yellow-500 mr-2"></i>关键洞察
                </h3>
                <p class="text-gray-700">
                    选择正确的集合类型可以显著提升程序性能。理解不同实现类的底层数据结构是做出明智选择的关键，因为这将直接影响时间复杂度和空间复杂度。
                </p>
            </div>
        </section>

        <!-- List Section -->
        <section id="list" class="mb-20">
            <div class="flex items-center mb-8">
                <div class="bg-indigo-100 p-3 rounded-full mr-4">
                    <i class="fas fa-list-ul text-indigo-600 text-2xl"></i>
                </div>
                <h2 class="text-3xl font-bold text-gray-800">List集合</h2>
            </div>
            
            <p class="text-gray-700 mb-8 text-lg">
                List是一个有序的集合，允许元素重复，并且可以通过索引访问元素。常用的List实现类有ArrayList和LinkedList。
            </p>
            
            <div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-12">
                <!-- ArrayList Card -->
                <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
                    <div class="p-6">
                        <div class="flex items-center mb-4">
                            <div class="bg-indigo-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-th text-indigo-600"></i>
                            </div>
                            <h3 class="text-xl font-bold text-gray-800">ArrayList</h3>
                        </div>
                        <div class="space-y-4">
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">底层数据结构</h4>
                                <p class="text-gray-600">动态数组</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">特点</h4>
                                <ul class="list-disc list-inside text-gray-600 space-y-1">
                                    <li>提供快速的随机访问（通过索引）</li>
                                    <li>插入和删除操作可能较慢（特别是在数组中间）</li>
                                    <li>支持动态扩容</li>
                                </ul>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">性能</h4>
                                <ul class="list-disc list-inside text-gray-600 space-y-1">
                                    <li>查找元素: O(1) 时间复杂度</li>
                                    <li>插入/删除元素: O(n) 时间复杂度</li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="bg-indigo-50 px-6 py-3 border-t border-gray-200">
                        <span class="text-sm font-medium text-indigo-600">适合场景：频繁随机访问的场景</span>
                    </div>
                </div>
                
                <!-- LinkedList Card -->
                <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
                    <div class="p-6">
                        <div class="flex items-center mb-4">
                            <div class="bg-purple-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-link text-purple-600"></i>
                            </div>
                            <h3 class="text-xl font-bold text-gray-800">LinkedList</h3>
                        </div>
                        <div class="space-y-4">
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">底层数据结构</h4>
                                <p class="text-gray-600">双向链表</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">特点</h4>
                                <ul class="list-disc list-inside text-gray-600 space-y-1">
                                    <li>插入和删除操作比ArrayList更快</li>
                                    <li>访问元素的时间复杂度较高</li>
                                    <li>不需要连续内存空间</li>
                                </ul>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">性能</h4>
                                <ul class="list-disc list-inside text-gray-600 space-y-1">
                                    <li>查找元素: O(n) 时间复杂度</li>
                                    <li>插入/删除元素: O(1) 时间复杂度</li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="bg-purple-50 px-6 py-3 border-t border-gray-200">
                        <span class="text-sm font-medium text-purple-600">适合场景：频繁插入删除的场景</span>
                    </div>
                </div>
            </div>
            
            <!-- Visualization -->
            <div class="bg-white rounded-xl shadow-md p-6 mb-8">
                <h3 class="text-xl font-bold text-gray-800 mb-4 flex items-center">
                    <i class="fas fa-chart-bar text-indigo-600 mr-2"></i>List性能对比可视化
                </h3>
                <div class="grid grid-cols-1 md:grid-cols-3 gap-4 text-center">
                    <div>
                        <div class="h-40 bg-indigo-50 rounded-lg flex flex-col justify-end">
                            <div class="bg-indigo-500 h-32 rounded-b-lg" style="height: 80%;"></div>
                        </div>
                        <p class="mt-2 font-medium">ArrayList 查找</p>
                        <p class="text-sm text-gray-500">O(1) 时间复杂度</p>
                    </div>
                    <div>
                        <div class="h-40 bg-indigo-50 rounded-lg flex flex-col justify-end">
                            <div class="bg-indigo-400 h-8 rounded-b-lg" style="height: 20%;"></div>
                        </div>
                        <p class="mt-2 font-medium">LinkedList 查找</p>
                        <p class="text-sm text-gray-500">O(n) 时间复杂度</p>
                    </div>
                    <div>
                        <div class="h-40 bg-purple-50 rounded-lg flex flex-col justify-end">
                            <div class="bg-purple-500 h-32 rounded-b-lg" style="height: 80%;"></div>
                        </div>
                        <p class="mt-2 font-medium">LinkedList 插入</p>
                        <p class="text-sm text-gray-500">O(1) 时间复杂度</p>
                    </div>
                </div>
            </div>
        </section>

        <!-- Set Section -->
        <section id="set" class="mb-20">
            <div class="flex items-center mb-8">
                <div class="bg-green-100 p-3 rounded-full mr-4">
                    <i class="fas fa-project-diagram text-green-600 text-2xl"></i>
                </div>
                <h2 class="text-3xl font-bold text-gray-800">Set集合</h2>
            </div>
            
            <p class="text-gray-700 mb-8 text-lg">
                Set是一个不允许重复元素的集合，它不保证元素的顺序。常用的Set实现类有HashSet、LinkedHashSet和TreeSet。
            </p>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
                <!-- HashSet Card -->
                <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
                    <div class="p-6">
                        <div class="flex items-center mb-4">
                            <div class="bg-green-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-hashtag text-green-600"></i>
                            </div>
                            <h3 class="text-xl font-bold text-gray-800">HashSet</h3>
                        </div>
                        <div class="space-y-3">
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">底层数据结构</h4>
                                <p class="text-gray-600">哈希表（使用HashMap）</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">特点</h4>
                                <p class="text-gray-600">元素的顺序是不确定的。提供快速的插入、删除和查找操作。</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">性能</h4>
                                <p class="text-gray-600">查找、插入和删除: 平均 O(1) 时间复杂度</p>
                            </div>
                        </div>
                    </div>
                    <div class="bg-green-50 px-6 py-3 border-t border-gray-200">
                        <span class="text-sm font-medium text-green-600">适合场景：需要快速查找且不关心顺序</span>
                    </div>
                </div>
                
                <!-- LinkedHashSet Card -->
                <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
                    <div class="p-6">
                        <div class="flex items-center mb-4">
                            <div class="bg-blue-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-link text-blue-600"></i>
                            </div>
                            <h3 class="text-xl font-bold text-gray-800">LinkedHashSet</h3>
                        </div>
                        <div class="space-y-3">
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">底层数据结构</h4>
                                <p class="text-gray-600">哈希表和链表（维护插入顺序）</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">特点</h4>
                                <p class="text-gray-600">维护元素的插入顺序。相比HashSet，性能稍差，但能够保持顺序。</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">性能</h4>
                                <p class="text-gray-600">查找、插入和删除: 平均 O(1) 时间复杂度</p>
                            </div>
                        </div>
                    </div>
                    <div class="bg-blue-50 px-6 py-3 border-t border-gray-200">
                        <span class="text-sm font-medium text-blue-600">适合场景：需要快速查找且保持插入顺序</span>
                    </div>
                </div>
                
                <!-- TreeSet Card -->
                <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
                    <div class="p-6">
                        <div class="flex items-center mb-4">
                            <div class="bg-yellow-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-tree text-yellow-600"></i>
                            </div>
                            <h3 class="text-xl font-bold text-gray-800">TreeSet</h3>
                        </div>
                        <div class="space-y-3">
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">底层数据结构</h4>
                                <p class="text-gray-600">红黑树（自平衡二叉搜索树）</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">特点</h4>
                                <p class="text-gray-600">元素按自然顺序（或自定义顺序）排序。提供有序集合的功能。</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">性能</h4>
                                <p class="text-gray-600">查找、插入和删除: O(log n) 时间复杂度</p>
                            </div>
                        </div>
                    </div>
                    <div class="bg-yellow-50 px-6 py-3 border-t border-gray-200">
                        <span class="text-sm font-medium text-yellow-600">适合场景：需要有序集合的场景</span>
                    </div>
                </div>
            </div>
            
            <!-- Visualization -->
            <div class="bg-white rounded-xl shadow-md p-6 mb-8">
                <h3 class="text-xl font-bold text-gray-800 mb-4 flex items-center">
                    <i class="fas fa-chart-pie text-green-600 mr-2"></i>Set特性对比
                </h3>
                <div class="mermaid">
                    pie
                        title Set实现类特性比较
                        "HashSet" : 35
                        "LinkedHashSet" : 30
                        "TreeSet" : 35
                        "快速访问" : 35
                        "保持顺序" : 30
                        "自动排序" : 35
                </div>
            </div>
        </section>

        <!-- Map Section -->
        <section id="map" class="mb-20">
            <div class="flex items-center mb-8">
                <div class="bg-red-100 p-3 rounded-full mr-4">
                    <i class="fas fa-map-marked-alt text-red-600 text-2xl"></i>
                </div>
                <h2 class="text-3xl font-bold text-gray-800">Map集合</h2>
            </div>
            
            <p class="text-gray-700 mb-8 text-lg">
                Map是一个键值对集合，其中每个键只能映射到一个值。常用的Map实现类有HashMap、LinkedHashMap和TreeMap。
            </p>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
                <!-- HashMap Card -->
                <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
                    <div class="p-6">
                        <div class="flex items-center mb-4">
                            <div class="bg-red-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-hashtag text-red-600"></i>
                            </div>
                            <h3 class="text-xl font-bold text-gray-800">HashMap</h3>
                        </div>
                        <div class="space-y-3">
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">底层数据结构</h4>
                                <p class="text-gray-600">哈希表</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">特点</h4>
                                <p class="text-gray-600">不保证键值对的顺序。提供快速的插入、删除和查找操作。</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">性能</h4>
                                <p class="text-gray-600">查找、插入和删除: 平均 O(1) 时间复杂度</p>
                            </div>
                        </div>
                    </div>
                    <div class="bg-red-50 px-6 py-3 border-t border-gray-200">
                        <span class="text-sm font-medium text-red-600">适合场景：通用键值存储，不关心顺序</span>
                    </div>
                </div>
                
                <!-- LinkedHashMap Card -->
                <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
                    <div class="p-6">
                        <div class="flex items-center mb-4">
                            <div class="bg-blue-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-link text-blue-600"></i>
                            </div>
                            <h3 class="text-xl font-bold text-gray-800">LinkedHashMap</h3>
                        </div>
                        <div class="space-y-3">
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">底层数据结构</h4>
                                <p class="text-gray-600">哈希表和链表（维护插入顺序）</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">特点</h4>
                                <p class="text-gray-600">维护键值对的插入顺序或访问顺序。性能比HashMap稍低，但能够保持顺序。</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">性能</h4>
                                <p class="text-gray-600">查找、插入和删除: 平均 O(1) 时间复杂度</p>
                            </div>
                        </div>
                    </div>
                    <div class="bg-blue-50 px-6 py-3 border-t border-gray-200">
                        <span class="text-sm font-medium text-blue-600">适合场景：需要保持插入或访问顺序</span>
                    </div>
                </div>
                
                <!-- TreeMap Card -->
                <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover">
                    <div class="p-6">
                        <div class="flex items-center mb-4">
                            <div class="bg-yellow-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-tree text-yellow-600"></i>
                            </div>
                            <h3 class="text-xl font-bold text-gray-800">TreeMap</h3>
                        </div>
                        <div class="space-y-3">
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">底层数据结构</h4>
                                <p class="text-gray-600">红黑树（自平衡二叉搜索树）</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">特点</h4>
                                <p class="text-gray-600">键按自然顺序（或自定义顺序）排序。提供有序映射的功能。</p>
                            </div>
                            <div>
                                <h4 class="font-semibold text-gray-700 mb-1">性能</h4>
                                <p class="text-gray-600">查找、插入和删除: O(log n) 时间复杂度</p>
                            </div>
                        </div>
                    </div>
                    <div class="bg-yellow-50 px-6 py-3 border-t border-gray-200">
                        <span class="text-sm font-medium text-yellow-600">适合场景：需要按键排序的映射</span>
                    </div>
                </div>
            </div>
            
            <!-- Visualization -->
            <div class="bg-white rounded-xl shadow-md p-6">
                <h3 class="text-xl font-bold text-gray-800 mb-4 flex items-center">
                    <i class="fas fa-network-wired text-red-600 mr-2"></i>Map类关系图
                </h3>
                <div class="mermaid">
                    graph TD
                        A[Map接口] --> B[HashMap]
                        A --> C[LinkedHashMap]
                        A --> D[TreeMap]
                        B -->|基于哈希表| E((快速访问))
                        C -->|哈希表+链表| F((保持顺序))
                        D -->|红黑树| G((自动排序))
                </div>
            </div>
        </section>

        <!-- Collection Structure -->
        <section class="mb-20">
            <h2 class="text-3xl font-bold text-gray-800 mb-8 text-center">集合框架结构</h2>
            
            <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
                <div class="bg-white rounded-xl shadow-md p-6">
                    <h3 class="text-xl font-bold text-gray-800 mb-4 flex items-center justify-center">
                        <i class="fas fa-sitemap text-indigo-600 mr-2"></i>List和Set结构
                    </h3>
                    <div class="mermaid">
                        graph TD
                            I[Collection接口] --> L[List接口]
                            I --> S[Set接口]
                            L --> AL[ArrayList]
                            L --> LL[LinkedList]
                            S --> HS[HashSet]
                            S --> LHS[LinkedHashSet]
                            S --> TS[TreeSet]
                    </div>
                    <p class="mt-4 text-gray-600 text-center">List和Set都继承自Collection接口，所以它们都是单值的集合</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-md p-6">
                    <h3 class="text-xl font-bold text-gray-800 mb-4 flex items-center justify-center">
                        <i class="fas fa-sitemap text-red-600 mr-2"></i>Map结构
                    </h3>
                    <div class="mermaid">
                        graph TD
                            M[Map接口] --> HM[HashMap]
                            M --> LHM[LinkedHashMap]
                            M --> TM[TreeMap]
                    </div>
                    <p class="mt-4 text-gray-600 text-center">Map是一个独立的接口，采用key-value结构存储数据</p>
                </div>
            </div>
        </section>

        <!-- Summary Section -->
        <section class="bg-indigo-50 rounded-xl p-8 mb-16">
            <h2 class="text-3xl font-bold text-indigo-800 mb-6 text-center">选择正确的集合类型</h2>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
                <div class="bg-white rounded-lg p-6 shadow-sm">
                    <h3 class="text-lg font-semibold text-indigo-700 mb-3 flex items-center">
                        <i class="fas fa-list-ol text-indigo-500 mr-2"></i>需要存储顺序？
                    </h3>
                    <ul class="list-disc list-inside text-gray-600 space-y-1">
                        <li>是 → 选择List (ArrayList/LinkedList)</li>
                        <li>否 → 考虑Set或Map</li>
                    </ul>
                </div>
                
                <div class="bg-white rounded-lg p-6 shadow-sm">
                    <h3 class="text-lg font-semibold text-green-700 mb-3 flex items-center">
                        <i class="fas fa-ban text-green-500 mr-2"></i>允许重复元素？
                    </h3>
                    <ul class="list-disc list-inside text-gray-600 space-y-1">
                        <li>是 → 选择List</li>
                        <li>否 → 选择Set</li>
                    </ul>
                </div>
                
                <div class="bg-white rounded-lg p-6 shadow-sm">
                    <h3 class="text-lg font-semibold text-red-700 mb-3 flex items-center">
                        <i class="fas fa-key text-red-500 mr-2"></i>需要键值对？
                    </h3>
                    <ul class="list-disc list-inside text-gray-600 space-y-1">
                        <li>是 → 选择Map</li>
                        <li>否 → 根据其他条件选择List或Set</li>
                    </ul>
                </div>
            </div>
            
            <div class="bg-white rounded-lg p-6 shadow-sm">
                <h3 class="text-lg font-semibold text-purple-700 mb-3 flex items-center">
                    <i class="fas fa-bolt text-purple-500 mr-2"></i>性能考虑因素
                </h3>
                <table class="min-w-full divide-y divide-gray-200">
                    <thead class="bg-gray-50">
                        <tr>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">操作</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ArrayList</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">LinkedList</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">HashSet</th>
                            <th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">HashMap</th>
                        </tr>
                    </thead>
                    <tbody class="bg-white divide-y divide-gray-200">
                        <tr>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">访问/查找</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(1)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(n)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(1)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(1)</td>
                        </tr>
                        <tr>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">插入头部</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(n)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(1)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">-</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">-</td>
                        </tr>
                        <tr>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">插入尾部</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(1)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(1)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">-</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">-</td>
                        </tr>
                        <tr>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">删除</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(n)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(1)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(1)</td>
                            <td class="px-4 py-2 whitespace-nowrap text-sm text-gray-600">O(1)</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </section>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-8 px-4">
        <div class="container mx-auto max-w-6xl flex flex-col md:flex-row justify-between items-center">
            <div class="mb-4 md:mb-0">
                <h3 class="text-xl font-bold text-white">技术小馆</h3>
                <p class="text-gray-400">探索技术的无限可能</p>
            </div>
            <div>
                <a href="http://www.yuque.com/jtostring" class="text-indigo-300 hover:text-white transition duration-300 flex items-center">
                    <i class="fas fa-external-link-alt mr-2"></i>访问技术小馆
                </a>
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: { useMaxWidth: true, htmlLabels: true },
            securityLevel: 'loose'
        });
    </script>
</body>
</html>
```